#pragma once
#include "../common/common.h"
#include <string>
using namespace std;

class CSequence
{
public:
	CSequence(void);
	~CSequence(void);

	wstring strSeqName;
	wstring strSeqPath;
	wstring strBeginTime;
	wstring strInterval;
	wstring Code;
	Plugin* pLogic;

	Error aError;
	Script aScript;	

	unsigned char* pSeq;
	int nCount;
	void Init(tagSeqInfo& seqInfo);
	bool LoadFile();
	bool Run();
	bool CanStart();
	bool SefDestructor();
	bool InitStart();
};
